package chapter.tenth.item71;

import com.google.protobuf.FieldType;

public class StaticFieldLazyInit {
	
	private static class FieldHolder{
		static final FieldType field = computeFieldValue();
	}
	
	static FieldType getField(){
		return FieldHolder.field;
	}

	public static FieldType computeFieldValue() {
		return FieldType.ENUM;
	}
	
	public static void main(String[] args) {
		System.out.println(StaticFieldLazyInit.getField());
	}
}
